Semantic-Org / Semantic-UI-React

The official Semantic-UI-React integration

Home Page:https://react.semantic-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form.Group is not accepting `disabled` flag

felixmosh opened this issue · comments

Bug Report

Semantic ui css supports putting an error class on .fields
image

Steps

<div class="ui form">
  <div class="disabled inline fields">
    <div class="field">
        <label>Phone Number</label>
    </div>
    <div class="field">
      <input type="text" placeholder="(xxx)">
    </div>
    <div class="field">
      <input type="text" placeholder="xxx">
    </div>
  </div>
</div>

Expected Result

It should allow to pass disabled prop

Actual Result

it not allows disabled prop

Version

2.4.1

Testcase

https://jsfiddle.net/dugfjzn9/