Skip to content

Conversation

@Bashamega
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged.

"overrideType": "AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`"
},
{
"name": "Directions",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a plan to remove that again?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, let's keep it in the JSON until we migrate because we still don't have support for type defs in KDL

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Maybe something like SelectionDirection to prevent future conflict.
  2. Maybe do the KDL work first to prevent back and forth?

@saschanaz
Copy link
Collaborator

Can you say maybe HTMLInputElement or something to be more clear for the title?

@Bashamega Bashamega changed the title Migrate HTML Input Migrate HTMLInputElement Dec 30, 2025
@Bashamega
Copy link
Contributor Author

Bashamega commented Dec 30, 2025

Done

name,
...optionalMember("type", "string", node.properties?.type),
...optionalMember("overrideType", "string", node.properties?.overrideType),
...optionalMember("nullable", "boolean", node.properties?.nullable),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is part of Typed and that should be handled by type node.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Bashamega Bashamega requested a review from saschanaz December 30, 2025 16:05
Added comments to clarify nullable types in setSelectionRange method.
}
}
property autocomplete type=AutoFill
property valueAsDate type=Date
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this should be allowed, Date is not an IDL type. But maybe not worth disallowing it... Let's see.

@saschanaz
Copy link
Collaborator

LGTM

@github-actions github-actions bot merged commit 2ce135a into microsoft:main Dec 30, 2025
7 checks passed
@github-actions
Copy link
Contributor

Merging because @saschanaz is a code-owner of all the changes - thanks!

@Bashamega Bashamega deleted the html-input branch December 30, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants