Duplicate layer ids now show errors inline.

This commit is contained in:
orangemug
2020-03-30 09:47:46 +01:00
parent b5c09a4f17
commit 61ba399e1c
4 changed files with 31 additions and 15 deletions

View File

@@ -15,6 +15,7 @@ class LayerIdBlock extends React.Component {
render() {
return <InputBlock label={"ID"} fieldSpec={latest.layer.id}
data-wd-key={this.props.wdKey}
error={this.props.error}
>
<StringInput
value={this.props.value}