Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Button: type is working incorrecly #374

Closed
@layershifter

Description

@layershifter

Bug Report

Hi guys, I'm building now some stuff based on Stardust specifications and I found the design problem.

image

image

However, the type prop is reserved in button: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button

Steps

<Button content="Click here" type="reset" />

Expected Result

<button class="ui-button" aria-disabled="false" type="reset">
  <span class="ui-slot">Click here</span>
</button>

Actual Result

<button class="ui-button" aria-disabled="false">
  <span class="ui-slot">Click here</span>
</button>

Version

0.9.1

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersvstsPaired with ticket in vsts🧰 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions