Meta tags:
description= The web development framework for building modern apps.;
author= Angular Team;
keywords= Angular framework, TypeScript, web development, hydration, Signals, standalone components, accessibility, performance;
Headings (most frequently used words):
the, array, form, controls, for, in, values, set, reset, formarray, topluluk, disabled, status, control, all, from, validator, asyncvalidator, errors, updateon, create, bu, sayfada, api, description, usage, notes, sosyal, medya, kaynaklar, çevirileri, constructor, at, push, insert, removeat, setcontrol, length, setvalue, patchvalue, patch, and, first, getrawvalue, clear, remove, elements, value, parent, valid, invalid, pending, enabled, pristine, dirty, touched, untouched, events, valuechanges, statuschanges, setvalidators, setasyncvalidators, addvalidators, addasyncvalidators, removevalidators, removeasyncvalidators, hasvalidator, hasasyncvalidator, clearvalidators, clearasyncvalidators, markastouched, markallasdirty, markallastouched, markasuntouched, markasdirty, markaspristine, markaspending, disable, enable, setparent, updatevalueandvalidity, seterrors, manually, get, geterror, haserror, root, an, of, with, level, validators, property, adding, or, removing,
Text of the page (most frequently used words):
the (338), control (161), undefined (137), boolean (121), any (102), void (92), when (83), emitevent (74), value (73), and (69), #events (63), param (57), new (54), this (54), override (54), angular (53), array (51), not (47), validators (47), returns (47), onlyself (47), tcontrol (47), validator (46), formarray (45), false (45), for (44), are (42), true (42), that (41), null (41), opts (38), options (35), default (35), status (35), controls (34), abstractcontrol (34), you (31), formcontrol (30), all (29), with (28), emits (28), index (28), supplied (27), arr (26), string (22), after (22), parent (22), asyncvalidatorfn (22), validatorfn (22), readonly (21), form (20), validation (20), disabled (20), function (20), its (19), changes (19), emitted (19), const (18), formgroup (18), number (18), emit (18), from (17), values (16), path (16), how (16), errors (16), observable (16), marks (16), remove (16), statuschanges (15), determine (15), has (14), one (14), sourcecontrol (14), valuechanges (14), updatevalueandvalidity (14), add (14), event (13), configuration (13), propagates (13), latest (13), mark (13), touched (13), testing (13), only (12), dirty (12), time (12), must (12), call (12), reference (12), set (11), property (11), log (11), console (11), given (11), error (11), whether (11), observables (11), pristine (11), ctrl (11), usage (10), notes (10), street (10), provided (10), updated (10), effect (10), minvalidator (10), length (10), both (10), change (9), each (9), child (9), children (9), method (9), will (9), get (9), overloads (9), run (9), ancestors (9), enabled (9), asynchronous (9), ɵisany (9), ɵtypedoruntyped (9), address (8), ɵgetproperty (8), trawvalue (8), toequal (8), expect (8), direct (8), applied (8), pending (8), take (8), same (8), without (8), instance (8), reset (8), negative (8), platform (8), browser (8), aria (8), blur (7), updateon (7), object (7), nancy (7), valid (7), forms (7), validity (7), should (7), name (7), validationerrors (7), sets (7), untouched (7), being (7), marking (7), synchronous (7), hasvalidator (7), existing (7), insert (6), async (6), want (6), than (6), invalid (6), state (6), checks (6), list (6), names (6), present (6), check (6), login (6), note (6), marked (6), markasdirty (6), was (6), affecting (6), functions (6), been (6), asyncvalidator (6), used (5), behavior (5), drew (5), example (5), current (5), seterrors (5), also (5), recalculates (5), other (5), formcontrolstatus (5), specifies (5), ɵrawvalue (5), inserted (5), upgrade (5), animations (5), common (5), cdk (5), result (4), clear (4), removeat (4), level (4), passed (4), accepts (4), root (4), errorcode (4), reports (4), setvalue (4), updates (4), configure (4), aggregate (4), disable (4), pristinechangeevent (4), markastouched (4), touchedchangeevent (4), found (4), compared (4), exact (4), min (4), required (4), removevalidators (4), have (4), first (4), added (4), using (4), instead (4), yet (4), tvalue (4), user (4), removed (4), last (4), ɵvalue (4), around (4), back (4), greatly (4), less (4), abstractcontroloptions (4), extends (4), api (4), dynamic (4), google (3), katkıda (3), push (3), adding (3), removing (3), two (3), part (3), inside (3), becomes (3), retrieves (3), would (3), code (3), information (3), pass (3), manually (3), calling (3), update (3), enable (3), markaspending (3), markaspristine (3), changed (3), markasuntouched (3), requiredvalidator (3), addasyncvalidators (3), addvalidators (3), multicasting (3), every (3), single (3), group (3), elements (3), affects (3), matches (3), structure (3), patchvalue (3), replace (3), wraps (3), splice (3), router (3), core (3), menu (3), referansı (3), altında (2), lisanslanmıştır (2), topluluk (2), yol (2), haritası (2), bulunun (2), use (2), methods (2), itself (2), these (2), such (2), specified (2), types (2), more (2), create (2), along (2), formrecord (2), argument (2), which (2), type (2), untypedformarray (2), entire (2), tracks (2), instances (2), ancestor (2), period (2), delimited (2), can (2), formats (2), following (2), returned (2), designates (2), move (2), queried (2), haserror (2), data (2), geterror (2), signature (2), supports (2), arrays (2), possible (2), shouldhaveemitted (2), notunique (2), setparent (2), means (2), included (2), exempt (2), statuschangeevent (2), while (2), performs (2), descendant (2), markallastouched (2), markallasdirty (2), empties (2), out (2), clearasyncvalidators (2), clearvalidators (2), presence (2), hasasyncvalidator (2), anonymous (2), originally (2), ignored (2), removeasyncvalidators (2), already (2), exists (2), ones (2), consider (2), active (2), overwrites (2), setasyncvalidators (2), setvalidators (2), formhooks (2), happens (2), right (2), later (2), accessing (2), callback (2), might (2), getting (2), subscribe (2), passing (2), triggered (2), multiple (2), composed (2), see (2), additional (2), compose (2), key (2), pair (2), member (2), getrawvalue (2), overwritedefaultvalue (2), descendants (2), replaced (2), element (2), setcontrol (2), validatororopts (2), constructor (2), arrow_back (2), static (2), ssr (2), server (2), localize (2), signals (2), http (2), sürüm (2), tarafından, güçlendirilmiştir, 2010, 2026, kod, dokümantasyon, ile, oluşturulmuştur, mit, tarzı, lisans, 正體中文版, 简体中文版, 日本語版, 한국어, русский, türkçe, oʻzbekcha, español, azərbaycanca, çevirileri, basın, kiti, kaynaklar, geliştirici, uzmanları, devlibrary, sorun, bildirin, davranış, kuralları, stack, overflow, github, discord, youtube, bluesky, eski, adıyla, twitter, blog, sosyal, medya, detaylara, atla, ensure, properly, tracked, hierarchy, modify, instantiate, directly, strange, unexpected, broken, detection, unless, explicitly, different, myvalidator, asyncvalidators, myasyncvalidator, separately, second, third, arg, respectively, together, include, come, handy, perform, considers, minlength, four, fundamental, building, blocks, define, generic, need, heterogenous, aggregates, into, calculates, reducing, similarly, description, top, particular, non, mutable, inferred, robust, prefer, strings, foo, bar, someotherlogin, somelogin, always, overwritten, results, next, running, validations, rather, automatically, enables, based, disables, excluded, through, compare, focus, duplicate, strategy, meaning, submit, programmatically, once, containing, generated, failing, there, long, their, asynchronously, synchronously, simpler, efficient, alternative, regardless, including, specific, states, standalone, resets, maps, patch, super, sub, throwing, patches, does, best, match, correct, strict, throws, try, doesn, exist, exclude, replaces, removes, inserting, prepends, pushing, end, retrieve, wrap, contains, trigger, where, registered, creates, ɵformarrayrawvalue, ɵformarrayvalue, class, sayfa, başına, dön, arrow_upward_alt, sayfada, creating, homogenous, collections, kararlı, sınıf, version, valuechangeevent, untypedformgroup, untypedformcontrol, untypedformbuilder, setdisabledstateoption, selectmultiplecontrolvalueaccessor, selectcontrolvalueaccessor, reactiveformsmodule, rangevalueaccessor, radiocontrolvalueaccessor, patternvalidator, numbervalueaccessor, nonnullableformbuilder, ngselectoption, ngmodelgroup, ngmodel, ngform, ngcontrolstatusgroup, ngcontrolstatus, ngcontrol, ng_value_accessor, ng_validators, ng_async_validators, minlengthvalidator, maxvalidator, maxlengthvalidator, isformrecord, isformgroup, isformcontrol, isformarray, formsubmittedevent, formsmodule, formresetevent, formgroupname, formgroupdirective, formcontrolstate, formcontroloptions, formcontrolname, formcontroldirective, formbuilder, formarrayname, formarraydirective, emailvalidator, defaultvalueaccessor, controlvalueaccessor, controlevent, controlcontainer, controlconfig, composition_buffer_mode, checkboxrequiredvalidator, checkboxcontrolvalueaccessor, abstractformgroupdirective, abstractformdirective, abstractcontroldirective, window, globals, node, service, worker, init, compat, rxjs, interop, testbed, selenium, webdriver, protractor, drag, drop, tree, toolbar, tabs, listbox, grid, combobox, accordion, genel, bakış, geçişler, yapılandırmalar, güncelleme, rehberi, uyumluluğu, yayınlar, genişletilmiş, tanılamalar, hata, ansiklopedisi, cli, more_horiz, referanslar, oyun, alanı, eğitimler, dökümanlar, v22, close, bulun, ana, içeriğe, geç,
Text of the page (random words):
ed this behavior is the same as array at index returns ɵtypedoruntyped tcontrol tcontrol abstractcontrol any any any push void insert a new abstractcontrol at the end of the array param control tcontrol tcontrol form control to be inserted param options emitevent boolean undefined specifies whether this formarray instance should emit events after a new control is added emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control is inserted when false no events are emitted note pushing to the formarray will not mark it dirty if you want to mark if dirty call markasdirty returns void insert void insert a new abstractcontrol at the given index in the array param index number index in the array to insert the control if index is negative wraps around from the back if index is greatly negative less than length prepends to the array this behavior is the same as array splice index 0 control param control tcontrol form control to be inserted param options emitevent boolean undefined specifies whether this formarray instance should emit events after a new control is inserted emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control is inserted when false no events are emitted note inserting to the formarray will not mark it dirty if you want to mark if dirty call markasdirty returns void removeat void remove the control at the given index in the array param index number index in the array to remove the control if index is negative wraps around from the back if index is greatly negative less than length removes the first element this behavior is the same as array splice index 1 param options emitevent boolean undefined specifies whether this formarray instance should emit events after a control is removed emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control is removed when false no events are emitted note removing the formarray will not mark it dirty if you want to mark if dirty call markasdirty returns void setcontrol void replace an existing control param index number index in the array to replace the control if index is negative wraps around from the back if index is greatly negative less than length replaces the first element this behavior is the same as array splice index 1 control param control tcontrol the abstractcontrol control to replace the existing control param options emitevent boolean undefined specifies whether this formarray instance should emit events after an existing control is replaced with a new one emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control is replaced with a new one when false no events are emitted returns void length number length of the control array setvalue void sets the value of the formarray it accepts an array that matches the structure of the control this method performs strict checks and throws an error if you try to set the value of a control that doesn t exist or if you exclude the value of a control param value ɵisany tcontrol any ɵrawvalue tcontrol array of values for the controls param options onlyself boolean undefined emitevent boolean undefined configure options that determine how the control propagates changes and emits events after the value changes onlyself when true each change only affects this control and not its parent default is false emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control value is updated when false no events are emitted the configuration options are passed to the updatevalueandvalidity method returns void usage notes set the values for the controls in the form array const arr new formarray new formcontrol new formcontrol console log arr value null null arr setvalue nancy drew console log arr value nancy drew patchvalue void patches the value of the formarray it accepts an array that matches the structure of the control and does its best to match the values to the correct controls in the group it accepts both super sets and sub sets of the array without throwing an error param value ɵisany tcontrol any ɵvalue tcontrol array of latest values for the controls param options onlyself boolean undefined emitevent boolean undefined configure options that determine how the control propagates changes and emits events after the value changes onlyself when true each change only affects this control and not its parent default is false emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control value is updated when false no events are emitted the configuration options are passed to the updatevalueandvalidity method returns void usage notes patch the values for controls in a form array const arr new formarray new formcontrol new formcontrol console log arr value null null arr patchvalue nancy console log arr value nancy null reset void resets the formarray and all descendants are marked pristine and untouched and the value of all descendants to null or null maps you reset to a specific form state by passing in an array of states that matches the structure of the control the state is a standalone value or a form state object with both a value and a disabled status param value ɵtypedoruntyped tcontrol ɵisany tcontrol any ɵvalue tcontrol any array of values for the controls param options onlyself boolean undefined emitevent boolean undefined overwritedefaultvalue boolean undefined configure options that determine how the control propagates changes and emits events after the value changes onlyself when true each change only affects this control and not its parent default is false emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when the control is reset when false no events are emitted the configuration options are passed to the updatevalueandvalidity method returns void usage notes reset the values in a form array const arr new formarray new formcontrol new formcontrol arr reset name last name console log arr value name last name reset the values in a form array and the disabled status for the first control arr reset value name disabled true last console log arr value last console log arr at 0 status disabled getrawvalue ɵisany tcontrol any ɵrawvalue tcontrol the aggregate value of the array including any disabled controls reports all values regardless of disabled status returns ɵisany tcontrol any ɵrawvalue tcontrol clear void remove all controls in the formarray param options emitevent boolean undefined specifies whether this formarray instance should emit events after all controls are removed emitevent when true or not supplied the default both the statuschanges and valuechanges observables emit events with the latest status and value when all controls in this formarray instance are removed when false no events are emitted returns void usage notes remove all elements from a formarray const arr new formarray new formcontrol new formcontrol console log arr length 2 arr clear console log arr length 0 it s a simpler and more efficient alternative to removing all elements one by one const arr new formarray new formcontrol new formcontrol while arr length arr removeat 0 value tvalue the current value of the control for a formcontrol the current value for an enabled formgroup the values of enabled controls as an object with a key value pair for each member of the group for a disabled formgroup the values of all controls as an object with a key value pair for each member of the group for an enabled formarray the values of enabled controls as an array for a disabled formarray the values of all controls as an array validator validatorfn null returns the function that is used to determine the validity of this control synchronously if multiple validators have been added this will be a single composed function see validators compose for additional information validator validatorfn null asyncvalidator asyncvalidatorfn null returns the function that is used to determine the validity of this control asynchronously if multiple validators have been added this will be a single composed function see validators compose for additional information asyncvalidator asyncvalidatorfn null parent formgroup any formarray any null the parent control status formcontrolstatus the validation status of the control valid boolean a control is valid when its status is valid invalid boolean a control is invalid when its status is invalid pending boolean a control is pending when its status is pending disabled boolean a control is disabled when its status is disabled disabled controls are exempt from validation checks and are not included in the aggregate value of their ancestor controls enabled boolean a control is enabled as long as its status is not disabled errors validationerrors null an object containing any errors generated by failing validation or null if there are no errors pristine boolean a control is pristine if the user has not yet changed the value in the ui dirty boolean a control is dirty if the user has changed the value in the ui touched boolean true if the control is marked as touched a control is marked touched once the user has triggered a blur event on it untouched boolean true if the control has not been marked as touched a control is untouched if the user has not yet triggered a blur event on it events any a multicasting observable that emits an event every time the state of the control changes it emits for value status pristine or touched changes note on value change the emit happens right after a value of this control is updated the value of a parent control for example if this formcontrol is a part of a formgroup is updated later so accessing a value of a parent control using the value property from the callback of this event might result in getting a value that has not been updated yet subscribe to the events of the parent control instead for other event types the events are emitted after the parent control has been updated valuechanges observable tvalue a multicasting observable that emits an event every time the value of the control changes in the ui or programmatically it also emits an event each time you call enable or disable without passing along emitevent false as a function argument note the emit happens right after a value of this control is updated the value of a parent control for example if this formcontrol is a part of a formgroup is updated later so accessing a value of a parent control using the value property from the callback of this event might result in getting a value that has not been updated yet subscribe to the valuechanges event of the parent control instead statuschanges observable formcontrolstatus a multicasting observable that emits an event every time the validation status of the control recalculates updateon formhooks reports the update strategy of the abstractcontrol meaning the event on which the control updates itself possible values change blur submit default value change setvalidators void sets the synchronous validators that are active on this control calling this overwrites any existing synchronous validators when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect if you want to add a new validator without affecting existing ones consider using addvalidators method instead param validators validatorfn validatorfn null returns void setasyncvalidators void sets the asynchronous validators that are active on this control calling this overwrites any existing asynchronous validators when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect if you want to add a new validator without affecting existing ones consider using addasyncvalidators method instead param validators asyncvalidatorfn asyncvalidatorfn null returns void addvalidators void add a synchronous validator or validators to this control without affecting other validators when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect adding a validator that already exists will have no effect if duplicate validator functions are present in the validators array only the first instance would be added to a form control param validators validatorfn validatorfn the new validator function or functions to add to this control returns void addasyncvalidators void add an asynchronous validator or validators to this control without affecting other validators when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect adding a validator that already exists will have no effect param validators asyncvalidatorfn asyncvalidatorfn the new asynchronous validator function or functions to add to this control returns void removevalidators void remove a synchronous validator from this control without affecting other validators validators are compared by function reference you must pass a reference to the exact same validator function as the one that was originally set if a provided validator is not found it is ignored param validators validatorfn validatorfn the validator or validators to remove returns void usage notes reference to the requiredvalidator const ctrl new formcontrol string null validators required ctrl removevalidators validators required reference to anonymous function inside minvalidator const minvalidator validators min 3 const ctrl new formcontrol string null minvalidator expect ctrl hasvalidator minvalidator toequal true expect ctrl hasvalidator validators min 3 toequal false ctrl removevalidators minvalidator when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect removeasyncvalidators void remove an asynchronous validator from this control without affecting other validators validators are compared by function reference you must pass a reference to the exact same validator function as the one that was originally set if a provided validator is not found it is ignored when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect param validators asyncvalidatorfn asyncvalidatorfn the asynchronous validator or validators to remove returns void hasvalidator boolean check whether a synchronous validator function is present on this control the provided validator must be a reference to the exact same functi...
|