diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-07 15:56:32 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-07 15:56:32 +0200 |
| commit | 3550f0ee37ee12179404f721b5a55be37992603f (patch) | |
| tree | 69706f1f3380e59072c1a5fb1fcd237bac6a7d8a /frontend/common/form.component.js | |
| parent | ad1950fc060f6eb84eb571740c62f3c0e35f0ebe (diff) | |
set link on tile form
Diffstat (limited to 'frontend/common/form.component.js')
| -rw-r--r-- | frontend/common/form.component.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/common/form.component.js b/frontend/common/form.component.js index cc0607d..f3775a2 100644 --- a/frontend/common/form.component.js +++ b/frontend/common/form.component.js @@ -125,7 +125,11 @@ export class Select extends Component { > {!selected && defaultOption && <option value="__default__">{defaultOption}</option>} {options.map((option, i) => ( - <option key={option.name} value={option.name}>{option.label}</option> + <option + key={option.name} + value={option.name} + disabled={option.disabled} + >{option.label}</option> ))} </select> </div> |
