Просмотр исходного кода

Updated the docs to add data-disabled to be added as an info - not allowed

Nagaraj Tantri 5 лет назад
Родитель
Сommit
330ae4a165
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      pages/03.configuration/03.data-attributes/docs.md

+ 2 - 0
pages/03.configuration/03.data-attributes/docs.md

@@ -14,6 +14,8 @@ It is recommended that you declare your configuration options by [passing in an
 </select>
 ```
 
+>>> Some options are not supported as `data-*`, for example `disabled` as it's not a Javascript option, but it's an HTML [attribute](/configuration/options-api).
+
 ## Nested (subkey) options
 
 Sometimes, you have options that are nested under a top-level option.  For example, the options under the `ajax` option: