Disabled implementation changed to Single line property
Disabled implementation changed to Single line property
This commit is contained in:
parent
0be1133a91
commit
9eab6e9625
File diff suppressed because it is too large
Load diff
|
|
@ -52,11 +52,7 @@ export class ElsaSingleLineProperty {
|
|||
onDefaultSyntaxValueChanged={e => this.onDefaultSyntaxValueChanged(e)}
|
||||
editor-height="2.75em"
|
||||
single-line={true}>
|
||||
{!isDisabled ?
|
||||
<input type="text" id={fieldId} name={fieldName} value={value} onChange={e => this.onChange(e)} class="focus:elsa-ring-blue-500 focus:elsa-border-blue-500 elsa-block elsa-w-full elsa-min-w-0 elsa-rounded-md sm:elsa-text-sm elsa-border-gray-300"/>
|
||||
:
|
||||
<input type="text" id={fieldId} name={fieldName} value={value} disabled class="elsa-opacity-50 elsa-cursor-not-allowed elsa-block elsa-w-full elsa-min-w-0 elsa-rounded-md sm:elsa-text-sm elsa-border-gray-300"/>
|
||||
}
|
||||
<input type="text" id={fieldId} name={fieldName} value={value} onChange={e => this.onChange(e)} class="disabled:elsa-opacity-50 disabled:elsa-cursor-not-allowed focus:elsa-ring-blue-500 focus:elsa-border-blue-500 elsa-block elsa-w-full elsa-min-w-0 elsa-rounded-md sm:elsa-text-sm elsa-border-gray-300" disabled={isDisabled} />
|
||||
</elsa-property-editor>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue