app: Disable the add user/group buttons when relevant
This commit is contained in:
committed by
nitnelave
parent
01c82f09eb
commit
9a68563c0b
@@ -69,6 +69,7 @@ impl Component for Select {
|
||||
html! {
|
||||
<select
|
||||
ref=self.node_ref.clone()
|
||||
disabled=self.props.children.is_empty()
|
||||
onchange=self.link.callback(SelectMsg::OnSelectChange)>
|
||||
{ self.props.children.clone() }
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user