+
Target Value
+ {state.targetType === 'role' ? (
+
+ ) : state.targetType === 'permission_group' ? (
+
+ ) : (
+
+ setState((current) => ({ ...current, targetValue: event.target.value }))
+ }
+ placeholder={
+ state.targetType === 'manager'
+ ? 'Optional role code, otherwise organization admins'
+ : state.targetType === 'explicit_user'
+ ? 'User id'
+ : 'Optional'
+ }
+ />
+ )}
+
+