Repository navigation
Нативный паритет select и подготовка репозитория для агентов - #1
Merged
Merged
Conversation
Keep the public API and version, and add form validation, combobox behavior, Playwright coverage, CI, and Cloud Agent install. Co-authored-by: kellas <alex.step.kellas@gmail.com>
alexstep
marked this pull request as ready for review
October 7, 2026 21:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Версия пакета не менялась (
1.1.5), в npm ничего не публиковалось,mainне затронут.Что сделано
<select>:ElementInternalsпишет значение вFormData(дляmultiple— по одному полю на значение, в порядке опций),nameотражается в атрибут,requiredдаётvalueMissing,formResetCallbackвозвращает исходный выбор,disabledи<fieldset disabled>выключают контрол и убирают его из отправки.inputиchangeвсплывают и несутdetail.value. Программное.value =события не шлёт.<option>больше не уничтожаются при рендере, поэтому опции можно менять после апгрейда.multipleбольше не попадает в форму как строка"null".AGENTS.md,custom-elements.json, типы (required,validity),.cursor/environment.json(установка Bun, зависимостей и Chromium для Playwright).bun test, e2e, деплой демо на GitHub Pages при push вmain.Что проверено
bun test— 33 теста.bunx tsc -p tsconfig.declarations.json --noEmit.required,input/change, reset,multiple, disabled и fieldset, клавиатура, клик вне, динамические опции,name. 10 тестов.demo.html: выбор с клавиатуры обновляет значение, пустой multiple не попадает вFormData..cursor/install.shотрабатывает:bun installбез изменений при повторном запуске, системные пакеты Playwright уже стоят.Бэклог
shadow-domи сделать доступным::part(popup)(сейчас попап вdocument.body).validationMessage(сейчас английская строка, как у Chrome).valueиFormData.