Skip to content

Commit

Permalink
fix: readonly attribute as text
Browse files Browse the repository at this point in the history
  • Loading branch information
didoda committed Jul 20, 2023
1 parent a6b3277 commit 1327357
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions resources/js/app/components/object-property/object-property.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@
<span>{{ prop.attributes.label || '-' }}</span>

<span class="column-header">{{ msgType }}</span>
<span class="property-type-name">{{ prop.attributes.property_type_name }}</span>
<span class="property-val">{{ prop.attributes.property_type_name }}</span>

<span class="column-header">{{ msgReadonly }}</span>
<span>
<select v-model="readonly">
<option value="true">{{ msgYes }}</option>
<option value="false">{{ msgNo }}</option>
</select>
</span>
<span class="property-val">{{ readonly }}</span>

<span class="column-header">{{ msgHidden }}</span>
<span>
Expand Down Expand Up @@ -218,7 +213,7 @@ div.column > div > span.column-header {
div.column > div > span > a:hover {
text-decoration: underline;
}
div.column > div > span.property-type-name {
div.column > div > span.property-val {
font-family: monospace;
}
</style>

0 comments on commit 1327357

Please sign in to comment.